<template>
  <div class="searchEngine">
    <!-- search input -->
    <h1 class="search-title">
      <el-input placeholder="请输入内容" size="medium" v-model="searchText" class="input-with-text">
        <span slot="prefix" class="pre-label">超级搜索</span>
        <el-button slot="append" type="primary" style="color:#fff;background:#409EFF">搜索</el-button>
      </el-input>
    </h1>
    <search-engine-tabs />
  </div>
</template>
<script>
import searchEngineTabs from './tabs';
export default {
  name: 'searchEngine',
  components:{
    searchEngineTabs
  },
  data() {
    return {
      searchText: ''
    };
  }
};
</script>
<style lang="scss">
.searchEngine {
  .search-title {
    .el-input--prefix {
      .el-input__inner {
        padding-left: 67px;
      }
    }
  }
}
</style>

<style lang="scss" scoped>
.searchEngine {
  .search-title {
    .pre-label {
      display: inline-block;
      height: 100%;
      width: 60px;
      font-size: 14px;
      color: #000;
      font-weight: 300;
      line-height: 32px;
    }
  }
  .total-show {
    margin-top: 20px;
    padding: 5px;
    background: #fff;
    border: 1px solid #333;
    min-height: 40px;
    .round {
      border: 1px solid #409eff;
      border-radius: 5px;
      padding: 0 4px;
      font-size: 12px;
      margin-right: 8px;
    }
    .primary {
      color: #fff;
      background: #409eff;
    }
    .close-btn {
      color: red;
      display: inline-block;
      height: 6px;
      width: 6px;
      border-radius: 50%;
      background: red;
    }
  }
}
</style>
